Santo Anastácio is a municipality in the state of São Paulo in Brazil. The population in 2004 was 21,131 and the area is 197.51 km². The elevation is 436 m.